package com.ssy.lingxi.marketing.model.vo.coupon.request;

import com.ssy.lingxi.common.model.vo.PageVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 商家优惠券请求类
 * @author yzc
 * @version 2.0.0
 * @date 2021/9/13
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WebCouponPageRequest extends PageVO {

    private static final long serialVersionUID = -3521420516340583757L;
    /**
     * 商城环境:1.web 2.H5 3.小程序 4.APP
     */
    @NotNull(message = "商城环境必填")
    private Integer environment;
    /**
     * 商城id
     */
    private Long shopId;

    /**
     * 券状态 1-已领取 2-已使用 3-已过期
     */
    private Integer status;

    /**
     * 店铺会员id
     */
    private Long memberId;

    /**
     * 店铺角色id
     */
    private Long roleId;
}
